#include <stdio.h>
#include <SDL2/SDL.h>

#include "display.h"
extern int flag;
extern int pause;
extern int steps;

int main(int argc, char* args[]){

    menu();
    step();
    init();

    while(flag == 0){
        input();
        display();

        if(pause == 1 && steps > 0){
            nextstep();
            steps--;
            SDL_Delay(DELAY);
        }
    }

    quit();
    return 0;
}
